<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>用户维护</title>
	<%@include file="/skins/jsp/loadCss.jsp"%>
</head>
<body>
	<%@include file="/skins/jsp/loadJquery.jsp"%>
	<h1 class="ch-box-container">用户维护</h1>
	<s:form action="saveUserInfo" namespace="/system" method="POST">
		<s:hidden name="userId"></s:hidden>
		<s:hidden name="status"></s:hidden>
		<p class="ch-form-row ch-form-required">
			<label for="userName"> 用户名: <em>*</em> </label> <input type="text"
				id="userName" name="userName" required="required"
				value="<s:property value="model.userName"/>" />
		</p>
		<p class="ch-form-row ch-form-required">
			<label for="loginName"> 登录名: <em>*</em> </label> <input type="text"
				id="loginName" name="loginName" required="required"
				value="<s:property value="model.loginName"/>" />
		</p>
		<p class="ch-form-row ch-form-required">
			<label for="email"> E-mail: <em>*</em> </label> <input type="email"
				id="email" name="email" required="required" size="35"
				placeholder="km@ibolor.com"
				value="<s:property value="model.email"/>" /> <span
				class="ch-form-hint"></span>
		</p>
		<p class="ch-form-actions">
			<input type="submit" name="_eventId_confirmation" value="保存"
				class="ch-btn ch-primary" />
			<s:reset class="ch-btn ch-primary" value="重置"></s:reset>
			<s:a cssClass="ch-btn ch-btn-small" action="findUserList" namespace="/system">后退</s:a>
		</p>
	</s:form>
	<script type="text/javascript">
		var pw = $("#userName,#loginName").required("不能为空！"),email=$("#email").email("请输入正确的EMAIL地址!"),pwl = $("#loginName").minLength(6,"不能少于6个字符！").maxLength(100,"不能大于100个字符！");
	</script>
</body>
</html>